﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="view_sub_file.ascx.cs" Inherits="vboard_component_board_template_default_view_sub_file" EnableViewState="false" %>

<div class="view_sub_file">

	<asp:Repeater id="FileRepeater" runat="server">
		<HeaderTemplate>
			<div class="CommonBox">
				<div class="Header"><%= GetLocalResourceObject("AttachmentFile_Title_Text").ToString()%></div>
				<div class="Content">
					<ul>
		</HeaderTemplate>
		<ItemTemplate>
			<li>
				<asp:HyperLink ID="DownloadHyperLink" runat="server" NavigateUrl='<%# Eval("DownloadUrl") %>'><%# Eval("UploadFile.OriginalFileName") %></asp:HyperLink>
				<span class="DownloadInfo">(<%# VUtility.GetFormatFileLength(Eval("UploadFile.ContentLength").ToString())%>,
					<%# Eval("DownloadCount") %> Downloaded)</span> | <%# Eval("UploadFile.Description")%>
			</li>
		</ItemTemplate>
		<FooterTemplate>
					</ul>
				</div>
			</div>
		</FooterTemplate>
	</asp:Repeater>

</div>